export const BASE = 'PackageSyntheticCardPa_';

export enum Command {
  //通用修改数据方法
  commonChange = 'PackageSyntheticCardPa_commonChange',
  init = 'PackageSyntheticCardPa_INIT',
  clean = 'PackageSyntheticCardPa_CLEAN',
}

// oss
export const OSS_PATH_PREFIX = 'https://ruizhi-ipland.oss-cn-nanjing.aliyuncs.com/syntheticCard';
export const OSS_BASE_PATH_PREFIX = 'https://ruizhi-ipland.oss-cn-nanjing.aliyuncs.com/gameBase';

// 当前选择的ip缓存
export const SYNTHETCI_SEELCT_IP_STORE = 'synthetic_select_ip_storage';

// 单抽和十连抽判断
export const GAME_TIMES_ONCE = 1;
export const GAME_TIMES_MORE = 10;

// 当前游戏类型
export const GAME_TYPE = 4; //0-魔力金币雨，1-魔力抽盲盒，2-魔力赏，3-魔力抓娃娃，4-魔力抽抽卡，5-刮刮乐

export const CODE_SUCCESS = 'K-000000';

// 页面默认布局（暂无数据或者查询中的展示效果，3个集成商品，5个卡片）
export const CARD_CUONT = 5;
export const APPELLATION_COUNT = 3;

// 商品为空的情况
export const IMAGE_EMPTY = 'https://ruizhi-ipland.oss-cn-nanjing.aliyuncs.com/gameBase/gameOnError.png';

// 游戏用户账号
export const GAME_STORAGE_INFO = 'gameUserInfo';

export const GAME_SHARE_TITLE = '摸鱼集热门IP，领取周边';

// 商品礼物
export const GAME_RPICE_TYPE = {
  product: 0,
  ticket: 1,
  gold: 2,
  prop: 3,
  card: 4,
};

// 结果弹框领取福利跳转
export const PRIZE_RESULT_TYPE = {
  // 礼品
  0: {
    url: '/pages/package-I/collectionCabinet/index',
    thum: '',
    className: 'gift',
    name: '',
  },

  // 优惠卷
  1: {
    url: '/pages/package-A/customer/my-coupon/index',
    thum: OSS_BASE_PATH_PREFIX + '/couponIcon.png',
    className: 'coupon',
    name: '优惠券',
  },

  // 魔力币
  2: {
    url: '',
    thum: OSS_BASE_PATH_PREFIX + '/jinbiMore.png',
    className: 'gold',
    name: '魔力币',
  },
  3: {
    url: '/pages/package-I/backpack/index',
    thum: OSS_BASE_PATH_PREFIX + '/propIcon.png',
    className: 'prop',
    name: '道具',
  },
  4: {
    url: '',
    thum: '',
    className: 'gift',
    name: '卡片',
  },
};
// 领取状态值
export const PRIZE_STATUS = {
  UNRECEIVED: 0, // 未领取
  RECEIVED: 1, // 已领取
};
